package com.ying.user.dao;

import com.ying.user.entity.MmRolePermission;
import com.ying.user.entity.MmRolePermissionKey;
import com.ying.user.entity.MmRolePermissionQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MmRolePermissionDao {
    /**
     *
     * @mbg.generated 2020-07-13
     */
    long countByQuery(MmRolePermissionQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int deleteByQuery(MmRolePermissionQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int deleteByPrimaryKey(MmRolePermissionKey key);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int insert(MmRolePermission record);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int insertSelective(MmRolePermission record);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    List<MmRolePermission> selectByQuery(MmRolePermissionQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    MmRolePermission selectByPrimaryKey(MmRolePermissionKey key);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int updateByQuerySelective(@Param("record") MmRolePermission record, @Param("example") MmRolePermissionQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int updateByQuery(@Param("record") MmRolePermission record, @Param("example") MmRolePermissionQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int updateByPrimaryKeySelective(MmRolePermission record);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int updateByPrimaryKey(MmRolePermission record);
}